package com.he.services;

import com.he.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: usersync
 * @description:
 * @author: xin.he
 * @create: 2021-06-06 12:22
 **/
public interface UserService {
    //查询
    public List<User> queryAll ();
    //添加数据
    public int add(User user);
    //根据用户名查询
    public User queryByName(String name);
    //根据uid查询
    public User queryByUid(String uid);
}
